package com.podium.config;

import com.podium.comment.utils.SequentialIdGenerator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 邵文泽
 * @description ID生成器配置
 * @date 2025/5/12 11:31
 */
@Configuration
public class IdGeneratorConfig {

    @Bean
    public SequentialIdGenerator idGenerator() {
        return new SequentialIdGenerator(1);
    }

}
